dispose

open fun dispose()

Releases any resources held by this control and prepares it for removal or permanent deactivation.

After dispose()} is called, the control should not be used further. This method should ensure that all internal resources (threads, listeners, native resources, etc.) are properly cleaned up to prevent memory leaks or other issues.

This is typically the final lifecycle method called for a control.

Fully releases all resources used by the TVView and its underlying media player. This includes stopping playback and calling release. After calling dispose(), this TVView instance should not be used further unless re-initialized.